<?php
include 'Residence.php';
include_once 'Membre.php';
include_once 'Message.php';
include_once 'Ville.php';
include_once '../common/database.php';

connect_db();
$r=new Residence(1);
echo $r->getNom()."<br>";

$m=new Membre(1);
echo $m->getNom()."<br>";

$message=new Message(1);
echo $message->getTitre()."<br>";

$ville= new Ville("paris");
print_r($ville->getResidencesId());
print_r($ville->getResidencesName());